// ************************************************************
// Copyright © 2021
// File Name: wire.go
// Author:
// Email:
// Created: 2021-12-27 10:39:14 (CST)
// Last Update:
//          By:
// Description:
// ************************************************************
//+build wireinject

package main

import (
	"bookstore/internal/biz"
	"bookstore/internal/data"
	"bookstore/internal/service"

	"github.com/google/wire"
)

// 使用wire自动生成BookInfoService
func InitBookInfoService() *service.BookInfo {
	wire.Build(service.NewBookInfo, biz.NewBookBiz, data.NewMemStore)
	return &service.BookInfo{}
}
